using System;
using System.Collections.Generic;
using System.Text;
using OneSoft.EntityCore;
using BySoft.Server.Common.Schema;

namespace BySoft.Server.Common.Entity
{
[Serializable]
public class SysRolerightsEntity : EntityBase
{
public SysRolerightsTable TableSchema
{
get
{
return (SysRolerightsTable)_tableSchema;
}}

public SysRolerightsEntity()
{
_tableSchema = SysRolerightsTable.Current;
}

#region 属性列表

public Int32? RoleRightsID
{
get { return Convert.ToInt32(GetData(SysRolerightsTable.C_ROLERIGHTSID)); }
set { SetData(SysRolerightsTable.C_ROLERIGHTSID, value); }
}

public String RightsCode
{
get { return Convert.ToString(GetData(SysRolerightsTable.C_RIGHTSCODE)); }
set { SetData(SysRolerightsTable.C_RIGHTSCODE, value); }
}

public Int32? RoleID
{
get { return Convert.ToInt32(GetData(SysRolerightsTable.C_ROLEID)); }
set { SetData(SysRolerightsTable.C_ROLEID, value); }
}

public String DataRights
{
get { return Convert.ToString(GetData(SysRolerightsTable.C_DATARIGHTS)); }
set { SetData(SysRolerightsTable.C_DATARIGHTS, value); }
}

public Int32? ModulePrimaryID
{
get { return Convert.ToInt32(GetData(SysRolerightsTable.C_MODULEPRIMARYID)); }
set { SetData(SysRolerightsTable.C_MODULEPRIMARYID, value); }
}

#endregion
}
}